package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.News;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface NewsService extends IService<News> {
    void saveOrUpdateBatch(List<News> list);
}
